/*
 * @Author: 晟松
 * @Date: 2021-12-17 17:05:33
 * @LastEditors: 晟松
 * @LastEditTime: 2022-02-26 20:10:40
 * @FilePath: \volunteer-vue3-admin\src\router\sidebarRoutes\communitySidebarRoutes.js
 * @Description:
 */
export const communitySidebarRoutes = [
    {
        parentId: -1,
        id: 100,
        name: "居民管理",
        alias: "居民管理",
        url: "",
        routeName: "",
        path: "",
        menu: "",
        type: 0, // type==0 表示是一个菜单
        icon: "menu",
        sort: 1,
        iframe: 1,
        children: [
            {
                id: 101,
                name: "所有居民",
                alias: "所有居民",
                routeName: "AllResident",
                path: "/AllResident",
                url: "AllResident",
                type: 1,
                icon: "avatar",
            },
            {
                id: 102,
                name: "居民审核",
                alias: "居民审核",
                routeName: "ResidentReview",
                path: "/ResidentReview",
                url: "ResidentReview",
                type: 1,
                icon: "finished",
            },
        ],
    },
    {
        parentId: -1,
        id: 1000,
        name: "志愿服务管理",
        alias: "志愿服务管理",
        url: "",
        routeName: "",
        path: "",
        menu: "",
        type: 0, // type==0 表示是一个菜单
        icon: "menu",
        sort: 1,
        iframe: 1,
        children: [
            {
                id: 1001,
                name: "志愿服务记录",
                alias: "志愿服务记录",
                routeName: "ResidentVol",
                path: "/ResidentVol",
                url: "ResidentVol",
                type: 1,
                icon: "list",
            },
            {
                id: 1002,
                name: "志愿服务审核",
                alias: "志愿服务审核",
                routeName: "ResidentVolReview",
                path: "/ResidentVolReview",
                url: "ResidentVolReview",
                type: 1,
                icon: "finished",
            },
        ],
    },
    {
        id: 1002,
        name: "大型志愿服务",
        alias: "大型志愿服务",
        routeName: "GroupVol",
        path: "/GroupVol",
        url: "GroupVol",
        type: 1,
        icon: "grid",
        children: [],
    },
    {
        id: 10000,
        name: "所有社区",
        alias: "所有社区", // 别名
        path: "/allCommunity",
        url: "AllCommunity", // 这里的url实际上等于路由里面的name属性
        routeName: "AllCommunity",
        type: 1, // type==1 表示是一个菜单里面的菜单项
        icon: "Menu",
        children: [],
    },
    {
        id: 100000,
        name: "所有学校",
        alias: "所有学校",
        path: "/allSchool",
        url: "AllSchool",
        routeName: "AllSchool",
        type: 1,
        icon: "Menu",
        children: [],
    },
    {
        id: 1000000,
        name: "消息",
        alias: "消息",
        routeName: "Message",
        path: "/Message",
        url: "Message",
        type: 1,
        icon: "message",
        children: [],
    },
];
